const { defineConfig } = require('@vue/cli-service')
const path = require("path");
const resolve = dir => path.join(__dirname, dir);
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  chainWebpack: config => {
    config.plugin('html').tap(args => {
        args[0].title = '一个前端小菜鸟';
        return args;
    })
  },
  configureWebpack: {
    resolve: {
        alias: {
            "@": resolve("src"),
            "@assets": resolve("src/assets"),
            "@common": resolve("src/common"),
            "@components": resolve("src/components"),
            "@views": resolve("src/views"),
        },
        
    },
},
})


